package com.ding.oauth.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @author ding
 * @date 2021/3/9 10:11
 */
@MapperScan("com.ding.oauth.server.mapper")
@SpringBootApplication
@EnableAuthorizationServer
@EnableOpenApi
public class OAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(OAuthServerApplication.class, args);
    }
}
